\hypertarget{class_q_c_p_plot_title}{}\section{Q\+C\+P\+Plot\+Title Class Reference}
\label{class_q_c_p_plot_title}\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}


A layout element displaying a plot title text.  


Inheritance diagram for Q\+C\+P\+Plot\+Title\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{class_q_c_p_plot_title}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_q_c_p_plot_title_a3a01ede2da3b0b5eda33aa5274cc3523}{selection\+Changed}} (bool selected)
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a5eac3c17a4dbabb75250bc1210a83cfc}\label{class_q_c_p_plot_title_a5eac3c17a4dbabb75250bc1210a83cfc}} 
void {\bfseries selectable\+Changed} (bool selectable)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_q_c_p_plot_title_aaae17bee2de6d6a1e695f76fb1abed03}{Q\+C\+P\+Plot\+Title}} (\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$parent\+Plot)
\item 
\mbox{\hyperlink{class_q_c_p_plot_title_a90b9f46ceccbeee41f71c895a8c7ee1f}{Q\+C\+P\+Plot\+Title}} (\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$parent\+Plot, const Q\+String \&text)
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ab1d6bdf3ce3548a745ae921e7453e2ae}\label{class_q_c_p_plot_title_ab1d6bdf3ce3548a745ae921e7453e2ae}} 
Q\+String {\bfseries text} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a28711580ab9d488c134dbf5d5e68e150}\label{class_q_c_p_plot_title_a28711580ab9d488c134dbf5d5e68e150}} 
Q\+Font {\bfseries font} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a1fa7af5df28f6bfc99e4f6be65c51ff4}\label{class_q_c_p_plot_title_a1fa7af5df28f6bfc99e4f6be65c51ff4}} 
Q\+Color {\bfseries text\+Color} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a3a801cc8af4b892e8f7571dae8b990dc}\label{class_q_c_p_plot_title_a3a801cc8af4b892e8f7571dae8b990dc}} 
Q\+Font {\bfseries selected\+Font} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ac811f7305f28200b2a515e69c2932938}\label{class_q_c_p_plot_title_ac811f7305f28200b2a515e69c2932938}} 
Q\+Color {\bfseries selected\+Text\+Color} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ab53d1140b1e34e6cd10fdd084eb38417}\label{class_q_c_p_plot_title_ab53d1140b1e34e6cd10fdd084eb38417}} 
bool {\bfseries selectable} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a60c91808dbd29640429549947a38f191}\label{class_q_c_p_plot_title_a60c91808dbd29640429549947a38f191}} 
bool {\bfseries selected} () const
\item 
void \mbox{\hyperlink{class_q_c_p_plot_title_aae5a93e88050dfb2cbf6adc087516821}{set\+Text}} (const Q\+String \&text)
\item 
void \mbox{\hyperlink{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}{set\+Font}} (const Q\+Font \&font)
\item 
void \mbox{\hyperlink{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}{set\+Text\+Color}} (const Q\+Color \&color)
\item 
void \mbox{\hyperlink{class_q_c_p_plot_title_a5245980ead999ceed51dbe702d0e3131}{set\+Selected\+Font}} (const Q\+Font \&font)
\item 
void \mbox{\hyperlink{class_q_c_p_plot_title_a09ffd8c52ac8824d00382f84be391b66}{set\+Selected\+Text\+Color}} (const Q\+Color \&color)
\item 
Q\+\_\+\+S\+L\+OT void \mbox{\hyperlink{class_q_c_p_plot_title_a8866b07b9fa14877d4cefbf38406c5dd}{set\+Selectable}} (bool selectable)
\item 
Q\+\_\+\+S\+L\+OT void \mbox{\hyperlink{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}{set\+Selected}} (bool selected)
\item 
virtual double \mbox{\hyperlink{class_q_c_p_plot_title_aae4bcb2401e6947ea0abd3c960488d35}{select\+Test}} (const Q\+PointF \&pos, bool only\+Selectable, Q\+Variant $\ast$details=0) const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ae225a89ab1f62e8a364e01f12c13c4d3}\label{class_q_c_p_plot_title_ae225a89ab1f62e8a364e01f12c13c4d3}} 
virtual void {\bfseries apply\+Default\+Antialiasing\+Hint} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter) const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ae4f1f8d24489628dabb7256363b097d2}\label{class_q_c_p_plot_title_ae4f1f8d24489628dabb7256363b097d2}} 
virtual void {\bfseries draw} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter)
\item 
virtual Q\+Size \mbox{\hyperlink{class_q_c_p_plot_title_aeed5454134516655723bf2d0499dea24}{minimum\+Size\+Hint}} () const
\item 
virtual Q\+Size \mbox{\hyperlink{class_q_c_p_plot_title_ae24c395b5d3be64b42dcb9e27ed023c4}{maximum\+Size\+Hint}} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a22672ef2abe442b1e73b7ee04cff9bdd}\label{class_q_c_p_plot_title_a22672ef2abe442b1e73b7ee04cff9bdd}} 
virtual void {\bfseries select\+Event} (Q\+Mouse\+Event $\ast$event, bool additive, const Q\+Variant \&details, bool $\ast$selection\+State\+Changed)
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ac6dfce05bebdb9bd0bfacd5ff02f3325}\label{class_q_c_p_plot_title_ac6dfce05bebdb9bd0bfacd5ff02f3325}} 
virtual void {\bfseries deselect\+Event} (bool $\ast$selection\+State\+Changed)
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a581b0215a6b16e5995b2f7e3bd4febb9}\label{class_q_c_p_plot_title_a581b0215a6b16e5995b2f7e3bd4febb9}} 
Q\+Font {\bfseries main\+Font} () const
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_aaff84f2291e654faf84419c370fa50cf}\label{class_q_c_p_plot_title_aaff84f2291e654faf84419c370fa50cf}} 
Q\+Color {\bfseries main\+Text\+Color} () const
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a0d961bfac1211d59d3b0bc30d35f6379}\label{class_q_c_p_plot_title_a0d961bfac1211d59d3b0bc30d35f6379}} 
Q\+String {\bfseries m\+Text}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_ad9e2c2a2e941f3444cb692a51df0df62}\label{class_q_c_p_plot_title_ad9e2c2a2e941f3444cb692a51df0df62}} 
Q\+Font {\bfseries m\+Font}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a5d7f834d6522c1a72fb0682c0b7ebe13}\label{class_q_c_p_plot_title_a5d7f834d6522c1a72fb0682c0b7ebe13}} 
Q\+Color {\bfseries m\+Text\+Color}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a95003186c39bbab902873a8ef4cbb547}\label{class_q_c_p_plot_title_a95003186c39bbab902873a8ef4cbb547}} 
Q\+Font {\bfseries m\+Selected\+Font}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a8b9760e62af92814c4effdd7ad69c5f9}\label{class_q_c_p_plot_title_a8b9760e62af92814c4effdd7ad69c5f9}} 
Q\+Color {\bfseries m\+Selected\+Text\+Color}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_a7178a0f6c1e633c144c17b4de4e0b840}\label{class_q_c_p_plot_title_a7178a0f6c1e633c144c17b4de4e0b840}} 
Q\+Rect {\bfseries m\+Text\+Bounding\+Rect}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_aadefb5e2b19b1cc7deda0a55ec747884}\label{class_q_c_p_plot_title_aadefb5e2b19b1cc7deda0a55ec747884}} 
bool {\bfseries m\+Selectable}
\item 
\mbox{\Hypertarget{class_q_c_p_plot_title_afef1342a20f5ca985a20b9cfdc03d815}\label{class_q_c_p_plot_title_afef1342a20f5ca985a20b9cfdc03d815}} 
bool {\bfseries m\+Selected}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
A layout element displaying a plot title text. 

The text may be specified with \mbox{\hyperlink{class_q_c_p_plot_title_aae5a93e88050dfb2cbf6adc087516821}{set\+Text}}, theformatting can be controlled with \mbox{\hyperlink{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}{set\+Font}} and \mbox{\hyperlink{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}{set\+Text\+Color}}.

A plot title can be added as follows\+: 
\begin{DoxyCodeInclude}
\end{DoxyCodeInclude}
 Since a plot title is a common requirement, \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} offers specialized selection signals for easy interaction with \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}}. If a layout element of type \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} is clicked, the signal \mbox{\hyperlink{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}{Q\+Custom\+Plot\+::title\+Click}} is emitted. A double click emits the \mbox{\hyperlink{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}{Q\+Custom\+Plot\+::title\+Double\+Click}} signal. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_q_c_p_plot_title_aaae17bee2de6d6a1e695f76fb1abed03}\label{class_q_c_p_plot_title_aaae17bee2de6d6a1e695f76fb1abed03}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{Q\+C\+P\+Plot\+Title()}{QCPPlotTitle()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Q\+C\+P\+Plot\+Title\+::\+Q\+C\+P\+Plot\+Title (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$}]{parent\+Plot }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

Creates a new \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} instance and sets default values. The initial text is empty (\mbox{\hyperlink{class_q_c_p_plot_title_aae5a93e88050dfb2cbf6adc087516821}{set\+Text}}).

To set the title text in the constructor, rather use \mbox{\hyperlink{class_q_c_p_plot_title_a90b9f46ceccbeee41f71c895a8c7ee1f}{Q\+C\+P\+Plot\+Title(\+Q\+Custom\+Plot $\ast$parent\+Plot, const Q\+String \&text)}}. \mbox{\Hypertarget{class_q_c_p_plot_title_a90b9f46ceccbeee41f71c895a8c7ee1f}\label{class_q_c_p_plot_title_a90b9f46ceccbeee41f71c895a8c7ee1f}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{Q\+C\+P\+Plot\+Title()}{QCPPlotTitle()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Q\+C\+P\+Plot\+Title\+::\+Q\+C\+P\+Plot\+Title (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$}]{parent\+Plot,  }\item[{const Q\+String \&}]{text }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Creates a new \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} instance and sets default values. The initial text is set to {\itshape text}. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_c_p_plot_title_ae24c395b5d3be64b42dcb9e27ed023c4}\label{class_q_c_p_plot_title_ae24c395b5d3be64b42dcb9e27ed023c4}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!maximum\+Size\+Hint@{maximum\+Size\+Hint}}
\index{maximum\+Size\+Hint@{maximum\+Size\+Hint}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{maximum\+Size\+Hint()}{maximumSizeHint()}}
{\footnotesize\ttfamily Q\+Size Q\+C\+P\+Plot\+Title\+::maximum\+Size\+Hint (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}

Returns the maximum size this layout element (the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}) may be expanded to.

if a maximum size (\mbox{\hyperlink{class_q_c_p_layout_element_a74eb5280a737ab44833d506db65efd95}{set\+Maximum\+Size}}) was not set manually, parent layouts consult this function to determine the maximum allowed size of this layout element. (A manual maximum size is considered set if it is smaller than Qt\textquotesingle{}s Q\+W\+I\+D\+G\+E\+T\+S\+I\+Z\+E\+\_\+\+M\+AX.) 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_ab5ce2ba22b36d9a3b70a1be562c326e5}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_plot_title_aeed5454134516655723bf2d0499dea24}\label{class_q_c_p_plot_title_aeed5454134516655723bf2d0499dea24}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!minimum\+Size\+Hint@{minimum\+Size\+Hint}}
\index{minimum\+Size\+Hint@{minimum\+Size\+Hint}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{minimum\+Size\+Hint()}{minimumSizeHint()}}
{\footnotesize\ttfamily Q\+Size Q\+C\+P\+Plot\+Title\+::minimum\+Size\+Hint (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}

Returns the minimum size this layout element (the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}) may be compressed to.

if a minimum size (\mbox{\hyperlink{class_q_c_p_layout_element_a5dd29a3c8bc88440c97c06b67be7886b}{set\+Minimum\+Size}}) was not set manually, parent layouts consult this function to determine the minimum allowed size of this layout element. (A manual minimum size is considered set if it is non-\/zero.) 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_ab3fdb5c9a5189bb2dac10d4d25329cd8}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_plot_title_a3a01ede2da3b0b5eda33aa5274cc3523}\label{class_q_c_p_plot_title_a3a01ede2da3b0b5eda33aa5274cc3523}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!selection\+Changed@{selection\+Changed}}
\index{selection\+Changed@{selection\+Changed}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{selection\+Changed}{selectionChanged}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::selection\+Changed (\begin{DoxyParamCaption}\item[{bool}]{selected }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when the selection state has changed to {\itshape selected}, either by user interaction or by a direct call to \mbox{\hyperlink{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}{set\+Selected}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}{set\+Selected}}, \mbox{\hyperlink{class_q_c_p_plot_title_a8866b07b9fa14877d4cefbf38406c5dd}{set\+Selectable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_plot_title_aae4bcb2401e6947ea0abd3c960488d35}\label{class_q_c_p_plot_title_aae4bcb2401e6947ea0abd3c960488d35}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!select\+Test@{select\+Test}}
\index{select\+Test@{select\+Test}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{select\+Test()}{selectTest()}}
{\footnotesize\ttfamily double Q\+C\+P\+Plot\+Title\+::select\+Test (\begin{DoxyParamCaption}\item[{const Q\+PointF \&}]{pos,  }\item[{bool}]{only\+Selectable,  }\item[{Q\+Variant $\ast$}]{details = {\ttfamily 0} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

Layout elements are sensitive to events inside their outer rect. If {\itshape pos} is within the outer rect, this method returns a value corresponding to 0.\+99 times the parent plot\textquotesingle{}s selection tolerance. However, layout elements are not selectable by default. So if {\itshape only\+Selectable} is true, -\/1.\+0 is returned.

See \mbox{\hyperlink{class_q_c_p_layerable_a04db8351fefd44cfdb77958e75c6288e}{Q\+C\+P\+Layerable\+::select\+Test}} for a general explanation of this virtual method.

\mbox{\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}} subclasses may reimplement this method to provide more specific selection test behaviour. 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_a0b96ae0d7bcfa6e38188fcb1e73e143f}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}\label{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Font@{set\+Font}}
\index{set\+Font@{set\+Font}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Font()}{setFont()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Font (\begin{DoxyParamCaption}\item[{const Q\+Font \&}]{font }\end{DoxyParamCaption})}

Sets the {\itshape font} of the title text.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}{set\+Text\+Color}}, \mbox{\hyperlink{class_q_c_p_plot_title_a5245980ead999ceed51dbe702d0e3131}{set\+Selected\+Font}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_plot_title_a8866b07b9fa14877d4cefbf38406c5dd}\label{class_q_c_p_plot_title_a8866b07b9fa14877d4cefbf38406c5dd}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Selectable@{set\+Selectable}}
\index{set\+Selectable@{set\+Selectable}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Selectable()}{setSelectable()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Selectable (\begin{DoxyParamCaption}\item[{bool}]{selectable }\end{DoxyParamCaption})}

Sets whether the user may select this plot title to {\itshape selectable}.

Note that even when {\itshape selectable} is set to {\ttfamily false}, the selection state may be changed programmatically via \mbox{\hyperlink{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}{set\+Selected}}. \mbox{\Hypertarget{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}\label{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Selected@{set\+Selected}}
\index{set\+Selected@{set\+Selected}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Selected()}{setSelected()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Selected (\begin{DoxyParamCaption}\item[{bool}]{selected }\end{DoxyParamCaption})}

Sets the selection state of this plot title to {\itshape selected}. If the selection has changed, \mbox{\hyperlink{class_q_c_p_plot_title_a3a01ede2da3b0b5eda33aa5274cc3523}{selection\+Changed}} is emitted.

Note that this function can change the selection state independently of the current \mbox{\hyperlink{class_q_c_p_plot_title_a8866b07b9fa14877d4cefbf38406c5dd}{set\+Selectable}} state. \mbox{\Hypertarget{class_q_c_p_plot_title_a5245980ead999ceed51dbe702d0e3131}\label{class_q_c_p_plot_title_a5245980ead999ceed51dbe702d0e3131}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Selected\+Font@{set\+Selected\+Font}}
\index{set\+Selected\+Font@{set\+Selected\+Font}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Selected\+Font()}{setSelectedFont()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Selected\+Font (\begin{DoxyParamCaption}\item[{const Q\+Font \&}]{font }\end{DoxyParamCaption})}

Sets the {\itshape font} of the title text that will be used if the plot title is selected (\mbox{\hyperlink{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}{set\+Selected}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}{set\+Font}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_plot_title_a09ffd8c52ac8824d00382f84be391b66}\label{class_q_c_p_plot_title_a09ffd8c52ac8824d00382f84be391b66}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Selected\+Text\+Color@{set\+Selected\+Text\+Color}}
\index{set\+Selected\+Text\+Color@{set\+Selected\+Text\+Color}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Selected\+Text\+Color()}{setSelectedTextColor()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Selected\+Text\+Color (\begin{DoxyParamCaption}\item[{const Q\+Color \&}]{color }\end{DoxyParamCaption})}

Sets the {\itshape color} of the title text that will be used if the plot title is selected (\mbox{\hyperlink{class_q_c_p_plot_title_a8d441a889d371307df86f1ab7687a333}{set\+Selected}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}{set\+Text\+Color}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_plot_title_aae5a93e88050dfb2cbf6adc087516821}\label{class_q_c_p_plot_title_aae5a93e88050dfb2cbf6adc087516821}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Text@{set\+Text}}
\index{set\+Text@{set\+Text}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Text()}{setText()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Text (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{text }\end{DoxyParamCaption})}

Sets the text that will be displayed to {\itshape text}. Multiple lines can be created by insertion of \char`\"{}\textbackslash{}n\char`\"{}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}{set\+Font}}, \mbox{\hyperlink{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}{set\+Text\+Color}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}\label{class_q_c_p_plot_title_a71273e3a0ca6b4c151591b37b9e5ce33}} 
\index{Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}!set\+Text\+Color@{set\+Text\+Color}}
\index{set\+Text\+Color@{set\+Text\+Color}!Q\+C\+P\+Plot\+Title@{Q\+C\+P\+Plot\+Title}}
\subsubsection{\texorpdfstring{set\+Text\+Color()}{setTextColor()}}
{\footnotesize\ttfamily void Q\+C\+P\+Plot\+Title\+::set\+Text\+Color (\begin{DoxyParamCaption}\item[{const Q\+Color \&}]{color }\end{DoxyParamCaption})}

Sets the {\itshape color} of the title text.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_plot_title_a199fc7170802ea65006c371875349e37}{set\+Font}}, \mbox{\hyperlink{class_q_c_p_plot_title_a09ffd8c52ac8824d00382f84be391b66}{set\+Selected\+Text\+Color}} 
\end{DoxySeeAlso}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8h}{qcustomplot.\+h}}\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}}\end{DoxyCompactItemize}
